/*
 * Projeto_ES1_BDApp.java
 */

package Interfaces;

import classes.Artigo;
import classes.EventoPrincipal;
import classes.Minicurso;
import classes.Painel;
import classes.Palestra;
import classes.Recurso;
import conexaoBD.mySQLcrud;
import java.util.ArrayList;
import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;

/**
 * The main class of the application.
 */
public class Projeto_ES1_BDApp extends SingleFrameApplication {

    /**
     * At startup create and show the main frame of the application.
     */
    @Override protected void startup() {
        show(new Projeto_ES1_BDView(this));
    }

    /**
     * This method is to initialize the specified window by injecting resources.
     * Windows shown in our application come fully initialized from the GUI
     * builder, so this additional configuration is not needed.
     */
    @Override protected void configureWindow(java.awt.Window root) {
    }

    /**
     * A convenient static getter for the application instance.
     * @return the instance of Projeto_ES1_BDApp
     */
    public static Projeto_ES1_BDApp getApplication() {
        return Application.getInstance(Projeto_ES1_BDApp.class);
    }

    /**
     * Main method launching the application.
     */
    public static void main(String[] args) {
        launch(Projeto_ES1_BDApp.class, args);


//        ArrayList<Palestra> arrayListPainel;
//        mySQLcrud connectionCrud = new mySQLcrud();
//        System.out.println("teste");
//        arrayListPainel = connectionCrud.listaPalestra("");
//
//        System.out.println(arrayListPainel);
    }
}
